﻿@{

    ViewBag.Title = "WallBoard";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script>
    $(document).ready(function() {
        App.blockUI($("body"));
        initwallboard();
        setInterval(function() {
            initwallboard();
        }, 60000);
    });
    function initwallboard() {
        $.ajax({            
            url: "/ticket/initwallboard",
            success:function(data) {
                $(".wallboard").html(data);
                $('.table-ticketdepartment').css("height", $(window).height() - 50);
                App.unblockUI($("body"));
            }
        });
    }
</script>
<div class="wallboard"></div>